import * as actionTypes from '../constants'
const initState = false;  //是否登陆

export default function loginReducer(preState = initState,action) {
    const { type } = action
    switch(type){
        case actionTypes.SET_LOGIN:
            return data  // 简版
            break;
        default:
            return preState
    }
}